<template>
  <div class="app-loading">
    <VanLoading type="spinner" size="40" />
  </div>
</template>

<script setup>
import { Loading as VanLoading } from 'vant';

</script>

<style scoped="scoped" lang="scss">
.app-loading {
  background-color: #fff;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1000;
}
</style>
